<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			body{
				margin: 0;
			}
			a{
				text-decoration: none;
			}
			.show-monitor{
				width: 320px;
				height: 600px;
				/* border: 2px solid red; */
				margin: 50px 0px 0px 50px;
			}
			.panel-head{
				display: flex;
			    align-items: center;
			}
			.panel-head span.panel-head-title{
				flex-grow: 1;
				font-size: 20px;
				margin-left: 10px;
			}
			.panel-head span.panel-head-sx{
				font-size: 16px;
				color: red;
			}
			/* 内容 */
			.panel-con{
				height: 94px;
				/* background-color: antiquewhite; */
				margin-top: 20px;
				display: flex;
			}
			.panel-con .panel-con-img{
				width: 126px;
				background-color: aqua;
				margin-right: 10px;
				flex-shrink: 0;
			}
			.panel-con .panel-con-img img{
				width: 100%;
				height: 100%;
				/* 图片裁剪 不压缩 */
				object-fit: cover;
			}
			.panel-con .panel-con-txt{
				/* background-color: aquamarine; */
				flex-grow: 1;
				display: flex;
				flex-direction: column;
			}
			.panel-con .panel-con-txt a{
				font-size: 16px;
				color: #222;
				line-height: 22px;
				max-height: 44px;
				overflow: hidden;
				/* 弹性伸缩盒子模型显示 */
				display: -webkit-box;
				/* 设置和检索伸缩盒子对象的子元素的排列方式 */
				-webkit-box-orient: vertical;
				/* 限制在一个块级元素显示的文本行数 */
				-webkit-line-clamp: 2;
				text-overflow:ellipsis;
			}
			.panel-con .panel-con-txt span.like{
				font-size: 12px;
				background-color: #fff2f2;
				color: #f04142;
				align-self: flex-start;
				padding: 3px 6px;
				border-radius: 5px;
				margin-top: 5px;
			}
			.panel-con .panel-con-txt .desc{
				font-size: 14px;
				color: #999;
				display: flex;
				justify-content: space-between;
				margin-top: 5px;
			}
		</style>
	</head>
	<body>
		<div class="show-monitor">
			<div class="panel-head">
				<span class="panel-head-title">热门视频</span>
				<span class="panel-head-sx">换一换</span>
			</div>
			<div class="panel-con">
				<div class="panel-con-img">
					<a href=""><img src="img/instagram-01.jpg" /></a>
				</div>
				<div class="panel-con-txt">
					<a href="">司马南: 中国与俄罗斯的底线</a>
					<span class="like">1万评论</span>
					<div class="desc">
						<span>148万次观看</span>
						<span>司马南频道</span>
					</div>
				</div>
			</div>
			<div class="panel-con">
				<div class="panel-con-img">
					<a href=""><img src="img/instagram-02.jpg" /></a>
				</div>
				<div class="panel-con-txt">
					<a href="">猫，猫科猫属动物，是全世界家庭中较为广泛的宠物。猫，头圆，颜面部短，前肢五指，后肢四趾。</a>
					<span class="like">1万评论</span>
					<div class="desc">
						<span>148万次观看</span>
						<span>司马南频道</span>
					</div>
				</div>
			</div>
			<div class="panel-con">
				<div class="panel-con-img">
					<a href=""><img src="img/instagram-03.jpg" /></a>
				</div>
				<div class="panel-con-txt">
					<a href="">司马南: 中国与俄罗斯的底线</a>
					<span class="like">1万评论</span>
					<div class="desc">
						<span>148万次观看</span>
						<span>司马南频道</span>
					</div>
				</div>
			</div>
			<div class="panel-con">
				<div class="panel-con-img">
					<a href=""><img src="img/instagram-04.jpg" /></a>
				</div>
				<div class="panel-con-txt">
					<a href="">司马南: 中国与俄罗斯的底线</a>
					<span class="like">1万评论</span>
					<div class="desc">
						<span>148万次观看</span>
						<span>司马南频道</span>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
